namespace Microsoft.Robotics.Hardware.Runtime.Sensors
{
    using System;
    using System.Runtime.Serialization;
    using Microsoft.Robotics.Hardware.VectorNavOrientation;
    using Microsoft.Robotics.Runtime;

    /// <summary>
    /// Attitude sensor message
    /// </summary>
    [DataContract]
    public class AttitudeSensorMessage : SimpleAgentMessage<AttitudeSensorReading>
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="AttitudeSensorMessage" /> class.
        /// </summary>
        /// <param name="reading">Attitude sensor reading</param>
        /// <param name="parent">Parent message (timer, most likely)</param>
        [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute]
        public AttitudeSensorMessage(AttitudeSensorReading reading, AgentMessage parent)
            : base(reading, parent.OriginatingTime)
        {
        }
    }
}
